package com.example.experiment2.facadePattern.subsystem;

public class CheckWord {
    public final int basicAmount =85;
    String advertisement;
    int amount;
    public CheckWord(String advertisement){
        this.advertisement=advertisement;
    }
    public void setChargeAmount(){
        amount = advertisement.length() + basicAmount;
    }

    public int getAmount(){
        return amount;
    }

}
